package sdau.hjk.dao;

import sdau.hjk.entity.Manager;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 *@version 1.0
 *@author: huangjiakai
 *@create:2021−03-01 16:13
 *@className:com.hjk.dao.IManagerDao
 *@description: TODO
 */
@Repository
public interface IManagerDao {
    //查询管理员
    @Select("select * from manager where name = #{name} and password = #{password}")
    public Manager find(@Param("name") String name, @Param("password") String password);
}
